package cn.sdc.bugKiller.bean;

import java.util.HashMap;

public class BugDealResult {//extends CodeBean{

	/**
	 * 1 -> 已解决
	 * 2 -> 转发给其他人来修改
	 * 3 -> 未修复
	 * 4 -> 未修复转发给其他人来修改
	 * 5 -> 已承认
	 */
	
	public static HashMap<Integer,String> resultMap = new HashMap<Integer,String>();
	public static Integer RESULT_FIX = new Integer(1);
	public static Integer RESULT_FWD = new Integer(2);
	public static Integer RESULT_REJECT = new Integer(3);
	public static Integer RESULT_REJECT_FWD = new Integer(4);
	public static Integer RESULT_CLOSED = new Integer(5);
	public static Integer RESULT_FORCE_CLOSED = new Integer(6);
	
	static{
		resultMap.put(RESULT_FIX, "已解决");
		resultMap.put(RESULT_FWD, "转发");
		resultMap.put(RESULT_REJECT, "未修复");
		resultMap.put(RESULT_REJECT_FWD, "未修复并转发");
		resultMap.put(RESULT_CLOSED, "承认并关闭");
	}
	
	public static String getName(Integer id){
		return resultMap.get(id);
	}
}
